home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World Tours: Brazil
/
WorldTours: Brazil.iso
/
mac
/
content
/
main.dir
/
00054_Script_roll down
< prev
next >
Wrap
Text File
|
2007-04-22
|
711b
|
38 lines
global chapterCount,firstChapter
on beginsprite
check()
end
on mousedown
firstChapter=firstChapter+1
if firstChapter>chapterCount-8 then firstChapter=chapterCount-8
reflashChapterList()
check()
end
on check
if chapterCount < 10 then
sprite(the currentspriteNum-1).locH=-320
sprite(the currentspriteNum).locH=-320
else
if firstChapter=1 then
sprite(the currentspriteNum-1).locH=-320
else
sprite(the currentspriteNum-1).locH=320
end if
if firstChapter=chapterCount-8 then
sprite(the currentspriteNum).locH=-320
else
sprite(the currentspriteNum).locH=320
end if
end if
end